package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-01-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("MMRA_T")
public class MmraT extends PO<MmraT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "MMRAENT", type = IdType.INPUT)
    private String MMRAENT;
    private String MMRA001;
    private String MMRA002;
    private String MMRA003;
    private String MMRA004;
    private String MMRA005;
    private String MMRA006;
    private String MMRA007;
    private String MMRA009;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRA010;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRA011;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRA012;
    private String MMRA013;
    private String MMRA014;
    private String MMRA015;
    private String MMRA016;
    private String MMRA017;
    private String MMRA050;
    private String MMRA051;
    private String MMRA052;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRA053;
    private Double MMRA054;
    private String MMRAACTI;
    @TableField(fill = FieldFill.INSERT)
    private String MMRAUSER;
    @TableField(fill = FieldFill.INSERT)
    private String MMRAGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String MMRAMODU;
    @TableField(fill = FieldFill.INSERT)
    private String MMRATIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRADATE;
    @TableField(fill = FieldFill.INSERT)
    private String MMRAORIG;
    @TableField(fill = FieldFill.INSERT)
    private String MMRAORIU;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRA008;
    private String MMRA018;
    private String MMRA019;
    private String MMRA020;
    private String MMRA021;
    private String MMRA040;
    private String MMRA041;
    private String MMRA042;
    private String MMRA043;
    private String MMRA044;
    private String MMRA045;


    @Override
    protected Serializable pkVal() {
        return this.MMRAENT;
    }

}
